package com.guoyansoft.controller;

import com.guoyansoft.config.R;
import com.guoyansoft.model.service.CustomerStarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/customerStar")
public class CustomerStarController {
    @Autowired
    private CustomerStarService customerStarService;
    @RequestMapping("/queryAll")
    public R queryAll(){
        R r = customerStarService.queryAll();
        //System.out.println(r.getData());
        return r;
    }
}
